package com.nuoniu.sibanyun.entity.vo.reportVo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName ProductionPickVo
 * @Description TODO
 * @Author 白强
 * @Date 2022/7/2 16:17
 * @Version 1.0
 **/
@Data
@ApiModel("生产入库领料查询—— 对应产品 领料情况")
public class ProductionPickVo extends BaseEntity {


    @ApiModelProperty(value = "材料名称")
    @TableField("inventory_name")
    private String inventoryName;

    @ApiModelProperty(value = "材料编码")
    @TableField("inventory_code")
    private String inventoryCode;

    @ApiModelProperty(value = "材料规格型号")
    @TableField("inventory_specification")
    private String inventorySpecification;

    @ApiModelProperty(value = "主计量名称")
    @TableField("base_unit_name")
    private String baseUnitName;

    @ApiModelProperty(value = "来源bom版本号")
    @TableField("bom_name")
    private String bomName;

    @ApiModelProperty(value = "需要数量")
    @TableField("require_quantity")
    private BigDecimal requireQuantity;

    @ApiModelProperty(value = "基础需要数量（单个产品 需要的 数量）")
    @TableField("base_require_quantity")
    private BigDecimal baseRequireQuantity;

    @ApiModelProperty(value = "损耗数量")
    @TableField("loss_quantity")
    private BigDecimal lossQuantity;

    @ApiModelProperty(value = "损耗率（%）")
    @TableField("loss_rate")
    private BigDecimal lossRate;

    @ApiModelProperty(value = "计划数量（应领数量）")
    @TableField("planned_quantity")
    private BigDecimal plannedQuantity;

    @ApiModelProperty(value = "期初领料数量")
    private BigDecimal beginQuantity;

    @ApiModelProperty(value = "本期领料数量")
    private BigDecimal currentQuantity;

    @ApiModelProperty(value = "差异数量")
    private BigDecimal diffQuantity;



}
